package cn.ycl.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author YuanChangLiang
 * @date 2020/12/4 10:10
 */

@SpringBootApplication
@EnableFeignClients(basePackages = {"cn.ycl"})
@EnableDiscoveryClient
@MapperScan("cn.ycl.system.biz.*.dao")
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
        System.out.println("\n\n\n ★★★★ 袁昌亮 System模块 启动成功 ★★★★\n\n\n");
    }
}
